<?php

class ControleurNews {

    public function __construct(){

    }

    public function afficherTout(){
        VariablesGlobales::$lesNews = ModeleBoutique::getLesNews();
        include(Chemins::VUES . "v_news.php");
    }

    public function afficher($id){
        VariablesGlobales::$lesNews = ModeleBoutique::getNewsById($id);
        include(Chemins::VUES . "v_news.php");
    }

} 